const Router=require("koa-router")
const {userValidator,usernameValidator}=require("../../middlewares/users.middleware")
const router=new Router({prefix:"/users"})

const {regiest}=require("../../controller/users/index")

router.post("/regiest",userValidator,usernameValidator,regiest)


module.exports=router